var personObj = {
  running: function () {
    console.log('running');
  }
}

function createStudent(name) {
  var stu = Object.create(personObj)
  stu.name = name
  stu.studying = function () {
    console.log('studying');
  }
  return stu
}

var stu1 = createStudent('why')
var stu2 = createStudent('kobe')